home *** CD-ROM | disk | FTP | other *** search
- Path: clipper.ssb.com!usenet
- From: "Pramod K. Chandersekhar" <chandpk@itd.ssb.com>
- Newsgroups: comp.lang.c++
- Subject: strstream destruction
- Date: Thu, 28 Mar 1996 13:23:40 -0500
- Organization: State Street Bank
- Message-ID: <315AD92C.726D@itd.ssb.com>
- NNTP-Posting-Host: nancy.itd.ssb.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
-
- hi,
- i plan to use ostrstream to create some strings , i would
- like to pass the string created as a char * by calling ostrstream.str().
- how do i free the memory allocated can i just call delete on the char *
- returned by ostrstream.str().
-
- thanks.
- pramod.
- --
-
-
- The butler walked in , a solemn procession of one.
- -P.G.Wodehouse
-